package org.op.util;

import java.util.ResourceBundle;

public class MessageControllerImpl implements MessageController {

	public String getMessage(String name) {
		ResourceBundle rb = ResourceBundle.getBundle("messages");
		
		return rb.getString(name);
	}

	public String getLabel(String name) {
		ResourceBundle rb = ResourceBundle.getBundle("labels");
		
		return rb.getString(name);
	}

}
